package com.indexingsystem.boss.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class IdxExportPath {
    private String pathCode;

    private String pathName;

    private String path;

    private Integer status;

    private String createBy;

    @JSONField(format = "yyyy-MM-dd")
    private Date createTime;

    private String description;

    public IdxExportPath() {
    }

    public IdxExportPath(String pathCode, String pathName, String path, Integer status, String createBy, Date createTime, String description) {
        this.pathCode = pathCode;
        this.pathName = pathName;
        this.path = path;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.description = description;
    }

    public String getPathCode() {
        return pathCode;
    }

    public void setPathCode(String pathCode) {
        this.pathCode = pathCode == null ? null : pathCode.trim();
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName == null ? null : pathName.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    @Override
    public String toString() {
        return "IdxExportPath{" +
                "pathCode='" + pathCode + '\'' +
                ", pathName='" + pathName + '\'' +
                ", path='" + path + '\'' +
                ", status=" + status +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", description='" + description + '\'' +
                '}';
    }
}